import request from '@/utils/request'

export function add(data) {
  return request({
    url: 'api/pricRgst',
    method: 'post',
    data
  })
}

export function del(ids) {
  return request({
    url: 'api/pricRgst/',
    method: 'delete',
    data: ids
  })
}

export function edit(data) {
  return request({
    url: 'api/pricRgst',
    method: 'put',
    data
  })
}
export function getPersonnelInfo(params) {
  return request({
    url: 'api/pricRgst/getPersonnelInfo',
    method: 'get',
    params
  })
}

export function getRgstInfo(params) {
  return request({
    url: 'api/pricRgst/getRgstInfo',
    method: 'get',
    params
  })
}

export function getBanks(params) {
  return request({
    url: 'api/pricRgst/getBanks',
    method: 'get',
    params
  })
}
export default { add, edit, del, getPersonnelInfo, getRgstInfo, getBanks }
